package com.mmdccj.yugu.mapper;

import com.mmdccj.yugu.dto.MusicListDto;
import com.mmdccj.yugu.dto.UserDto;
import com.mmdccj.yugu.entity.Music;
import com.mmdccj.yugu.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: star_
 * @date: 2023-12-09 16:26
 */
@Mapper
public interface SearchMapper {
    List<Music> selectMusicByKeyword(String keyword);

    List<User> selectSingerByKeyword(String keyword);

    List<User> selectSingerNoDistinct(String keyword);

    List<MusicListDto> selectMusicListByKeyword(String keyword);

    List<UserDto> selectUserByKeyword(String keyword);

    List<MusicListDto> selectCDByKeyword(String keyword);
}
